package com.melon.entity;

import org.joda.time.DateTime;


public interface TimeAuditable {
	/**
	 * Returns the creation date of the entity.
	 * 
	 * @return the createdDate
	 */
	DateTime getCreatedDate();

	/**
	 * Sets the creation date of the entity.
	 * 
	 * @param creationDate
	 *            the creation date to set
	 */
	void setCreatedDate(final DateTime creationDate);

	/**
	 * Returns the date of the last modification.
	 * 
	 * @return the lastModifiedDate
	 */
	DateTime getLastModifiedDate();

	/**
	 * Sets the date of the last modification.
	 * 
	 * @param lastModifiedDate
	 *            the date of the last modification to set
	 */
	void setLastModifiedDate(final DateTime lastModifiedDate);
}
